/*

 * Support: http://www.huqiuhsc.com
 * License: http://www.huqiuhsc.com/license
 */
package com.flycent.fanbao.bean;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

/**
 *  商品
 * @author fbl
 *  
 */
public class Product  implements Serializable {

	private static final long serialVersionUID = -2300760218308584140L;

	/** 当前时间 */
	private long nowDate;
	/** 购物车中商品Id  */
	private long productId;
	/**  id */
	private long id;
	/** goods name */
	private String name;
	/**  图片路径  */
	private String image;
	/**  价格  */
	private float price;
	/**  市场价 */
	private float referencePrice;
	/**  购物车中市场价 */
	private float referenceValue;
	/** 折扣 */
	private BigDecimal discount;
	/**  是否置顶  */
	private boolean isTop;
	/** 优惠Id */
	private int promotionId;
	/** 优惠类型 */
	private String preferentialType;
	/** 开始时间 */
	private long startTime;
	/** 结束时间 */
	private long endTime;
	/**  销售额  */
	private int sales;
	/**  单位  */
	private String unit;
	/**  重量  */
	private int weight;
	/**  点击数  */
	private int hits;
	/**  评论数  */
	private int reviewCount;
	/**  喜欢数  */
	private int favoriteCount;
	/**  是否喜欢 */
	private boolean isFavorite;
	/** 供分享的路径path */
	private String path;
	/**
	 * @return the nowDate
	 */
	public long getNowDate() {
		return nowDate;
	}
	/**
	 * @param nowDate the nowDate to set
	 */
	public void setNowDate(long nowDate) {
		this.nowDate = nowDate;
	}
	/**
	 * @return the productId
	 */
	public long getProductId() {
		return productId;
	}
	/**
	 * @param productId the productId to set
	 */
	public void setProductId(long productId) {
		this.productId = productId;
	}
	/**
	 * @return the id
	 */
	public long getId() {
		return id;
	}
	/**
	 * @param id the id to set
	 */
	public void setId(long id) {
		this.id = id;
	}
	/**
	 * @return the name
	 */
	public String getName() {
		return name;
	}
	/**
	 * @param name the name to set
	 */
	public void setName(String name) {
		this.name = name;
	}
	/**
	 * @return the image
	 */
	public String getImage() {
		return image;
	}
	/**
	 * @param image the image to set
	 */
	public void setImage(String image) {
		this.image = image;
	}
	/**
	 * @return the price
	 */
	public float getPrice() {
		return price;
	}
	/**
	 * @param price the price to set
	 */
	public void setPrice(float price) {
		this.price = price;
	}
	/**
	 * @return the referencePrice
	 */
	public float getReferencePrice() {
		return referencePrice;
	}
	/**
	 * @param referencePrice the referencePrice to set
	 */
	public void setReferencePrice(float referencePrice) {
		this.referencePrice = referencePrice;
	}
	/**
	 * @return the referenceValue
	 */
	public float getReferenceValue() {
		return referenceValue;
	}
	/**
	 * @param referenceValue the referenceValue to set
	 */
	public void setReferenceValue(float referenceValue) {
		this.referenceValue = referenceValue;
	}
	/**
	 * @return the discount
	 */
	public BigDecimal getDiscount() {
		return discount;
	}
	/**
	 * @param discount the discount to set
	 */
	public void setDiscount(BigDecimal discount) {
		this.discount = discount;
	}
	/**
	 * @return the isTop
	 */
	public boolean isTop() {
		return isTop;
	}
	/**
	 * @param isTop the isTop to set
	 */
	public void setTop(boolean isTop) {
		this.isTop = isTop;
	}
	/**
	 * @return the promotionId
	 */
	public int getPromotionId() {
		return promotionId;
	}
	/**
	 * @param promotionId the promotionId to set
	 */
	public void setPromotionId(int promotionId) {
		this.promotionId = promotionId;
	}
	/**
	 * @return the preferentialType
	 */
	public String getPreferentialType() {
		return preferentialType;
	}
	/**
	 * @param preferentialType the preferentialType to set
	 */
	public void setPreferentialType(String preferentialType) {
		this.preferentialType = preferentialType;
	}
	/**
	 * @return the startTime
	 */
	public long getStartTime() {
		return startTime;
	}
	/**
	 * @param startTime the startTime to set
	 */
	public void setStartTime(long startTime) {
		this.startTime = startTime;
	}
	/**
	 * @return the endTime
	 */
	public long getEndTime() {
		return endTime;
	}
	/**
	 * @param endTime the endTime to set
	 */
	public void setEndTime(long endTime) {
		this.endTime = endTime;
	}
	/**
	 * @return the sales
	 */
	public int getSales() {
		return sales;
	}
	/**
	 * @param sales the sales to set
	 */
	public void setSales(int sales) {
		this.sales = sales;
	}
	/**
	 * @return the unit
	 */
	public String getUnit() {
		return unit;
	}
	/**
	 * @param unit the unit to set
	 */
	public void setUnit(String unit) {
		this.unit = unit;
	}
	/**
	 * @return the weight
	 */
	public int getWeight() {
		return weight;
	}
	/**
	 * @param weight the weight to set
	 */
	public void setWeight(int weight) {
		this.weight = weight;
	}
	/**
	 * @return the hits
	 */
	public int getHits() {
		return hits;
	}
	/**
	 * @param hits the hits to set
	 */
	public void setHits(int hits) {
		this.hits = hits;
	}
	/**
	 * @return the reviewCount
	 */
	public int getReviewCount() {
		return reviewCount;
	}
	/**
	 * @param reviewCount the reviewCount to set
	 */
	public void setReviewCount(int reviewCount) {
		this.reviewCount = reviewCount;
	}
	/**
	 * @return the favoriteCount
	 */
	public int getFavoriteCount() {
		return favoriteCount;
	}
	/**
	 * @param favoriteCount the favoriteCount to set
	 */
	public void setFavoriteCount(int favoriteCount) {
		this.favoriteCount = favoriteCount;
	}
	/**
	 * @return the isFavorite
	 */
	public boolean isFavorite() {
		return isFavorite;
	}
	/**
	 * @param isFavorite the isFavorite to set
	 */
	public void setFavorite(boolean isFavorite) {
		this.isFavorite = isFavorite;
	}
	/**
	 * @return the path
	 */
	public String getPath() {
		return path;
	}
	/**
	 * @param path the path to set
	 */
	public void setPath(String path) {
		this.path = path;
	}
	/**
	 * @return the serialversionuid
	 */
	public static long getSerialversionuid() {
		return serialVersionUID;
	}
	


}